improved tab movement and such

it somewhat works now. need to fix window types, closing and appearance
on taskbar.