bug fixes

fixed a couple fo the positions of the loops and also put some messages
into the command line, will look at making them become pop ups with
information for lecturer to read