Modularized menu stuff.
Implemented pausability.
Added velocity component.