Fixed controlId / lexeme key error

Put in a check to see if the 'lexeme' key exists, if not use controlId.
Added successful compile of lab9prog3, but it fails at runtime :(