Line wrap made to be dynamic according to window size. Added GUI hook to get max width of window.
Divided hooks into two categories, cmd_hooks and gui_hooks. other minor changes.
Changed bg color and input box working, added prompt to input box. Added methods to filter, reset and preserve the prompt.
Fixed issue where cmd_hook methods getting caught in list generated by cmd hook method.