Fixing some obvious bugs & misspellings. Still can't compile.