Started to refactor the extraction of defined symbols in an assignment.
Improved completion, reference resolving and definition extraction. General code reformatting.
Improved resolving and completion of global variables.
Added comment. This fix is done now. #MMAP-40 Fixed.