Sorry to hear about the trouble! Please email firstname.lastname@example.org and we'll do our best to get you back to a working state.
The 1.5.1 update is currently in alpha for Windows.
You can find the End G-Code in Settings > Printer > Custom G-Code. The line in question is the 5th to last.
You may only upload PNG, JPG, or GIF files ()