changed all serial print jobs to be conditional of debug.
debug currently set to true, later to be converted to the output of a switch
more comment code and some structure