gui: show source line numbers
core: fix source line number parsing and saving
core: fix issues in variable names and try/catch blocks