added framerate counter
canvas resizes to screen width and black background