Improved garbage collection, added garbage stack. Added input from keyboard.