Added tabn[ext] and tabp[rev] commands. Also fixes #2.