[PD-dev] data structures / drawing stuff