api: update GUI code to match changes to Micropolis call-back methods
sim: catch simulator exceptions and display an error message popup