Fixed autoindent bug (closes #65)