Removed debug output.
Fixed getting correct line numbers for errors. Closes #8.