added statusbar (should work by now)