Fixed parser bugs
Fixed whitespace at EOF counting for indentation
Made diagram scrolling more persistent