many minor improvements to the ui