load units from scenario json file
pressing esc when another window selected no longer exits program
use events to make and delete amplitudes