Fixed crashes and statusbar.