Git rid of Thumbs.db
Fix TS compiler script
Clean up code

Used the CodeMaid extension to clean up whitespace and other formatting.