More Sublime preferences.
Remove remaining chars of the previous string.
Refactor code into functions.