tidied up code. Changed render functions from accepting ints to floats. You can now push q to quit while paused