several improvements to mouse control and some UI changes