changed locations of constants, startd frametimer

also added a debug class to print with a bit in front of it.