Fixed use of commas and semicolons. 

(removed unneeded commas, terminated statements &etc.)