cleanup unused code; started code for half-framerate setting