some clean up & bug fixes in ugly statusbar set up