Rewrote tabs module, expanded functionality, added docs