created separate class for counter and infobar
corrected modes
added ability to select the active line
improved "print" function
removed CodePrinter.Modes definition
a lot of visual changes