Fixed SQL things, added status bar
Reordering