various graphical tweaks and bug fixes