Replaced ugly code with time_stamp in send_message
Replaced ugly code with put_text_in_chat_box
Merge branch 'refactor' into do_not_scroll_down

The refactored code should fix the not scrolling problem as it updates
the send_message method to print local output using put_text_in_chat_box

fixes #1
fixes #2
fixes #3