Fixing runtime errors
Adding features for resizing and closing, also adding own key specifiers