Added Numpad support

Added numpad support.
Custom debug code

debugBreak was changed a bit for our own debug modes.