Automatic text pasting on New File Creation. fixed #11
Small errors fixed. Code refactored.