add panel hooks; profile rendering; clean up