fixed bug - load state popup shows an item labelled "undefined" when there hasn't been any saved states yet

added press esc to closecancel popups (except for annotating equations)

added updating of state descriptions in the load state popup, via pressing of up or down keys at the list