proper tab dragging and stuff.
tabs now  get drawn properly on startup