Remove those pesky stray newlines

mostly this is removing newlines at the end of the files, but also fixed a couple of old hacking attempt things as well