remove closing ?>  to prevent errors

Sometimes leaving the closing ?> at the end of a file can cause output of blank lines to the browser, triggering headers-already-sent errors.