fields change on specification, popupmenu only works if space pressed. fixes #7, also fixes #6