Controls now use bitmasks to check if they are held down or not.
Some code clean up and video background code.