Fixed some bugs in the buttons. Added some more information in button events and started writing a text input component