Added child window key input queue and usability; added functionality to switch between foreground windows and move them; fixed Gheith's preposterous memory leak