Shift button bugfix, minor changes to the debugger.