Fixed syntax errors, most were due to lines that were incomplete, commented them out completely