added LineCounter to GUI