output/main : cleaned up output program, added framerate argument.