Made replay save states approximately every 170ms.
Added ability to browse through paused replay.
During replay, the [UP] button to pause.
Press [LEFT] and [RIGHT] to browse through paused replay.
Press [UP] to resume replay, any other key to continue.
Made WaitJoystick() exit when window closed.