Line breaks now work. Closes #2
Removed erroneous window code and moved to main.js