Added dockapp states. Added rio-like hiding. Added alttab feature. Added -d and -t options. Several bugfixes.