Fix some little problems with file uploading and CTAdminModule.

Plus some corrected typos and changed whitespace due to eclipse
extension AnyEdit removing trailing whitespace :-)