Fixed bug which would crash the program if you clicked draw trajectories without entering proper frame numbers. Also added dialog boxes which will tell you what is wrong with your given frame numbers.