Fixed some bugs with selecting, added errors when placing schedules wrongly, fixed some small bugs