[TASK] Remove empty lines and ?> from end of files

Not much to explain. Just some cosmetic fixes.