removed redundant code
text input requests focus
Added color support to the console