Converting DB stuff to SQLAlchemy, cleaned up some tabs, some GUI stuff now rescales on window resize.