Started to implement save chat feature

Option to save chat window in a .chat file is added (early stages)