Changed to using the reccommended 4 space indent rather than the tab character. Added ending semicolons to functions that were missing them. removed a lot of extra whitespace.