merged (task|window|draw|app)_data_t into slot_t
also, moved all these structs to legacy namespace