Fixed printing and counting, small gui changes