changes to schedulePanel, added actShape clicklisteners and improved readability