Working offline works but it is not ideal.

Every time you save the file to the server even when working offline, it removes the new line off the end of the file.

Anyways I added new lines, and everything should be fixed per your requests.