I'm getting the feeling this is to do with what CE mentioned earlier, that when moving windows to the front, they are removed and re-added, which is probably screwing up my calculation of whats 'to the left' or 'to the right' of the selected tab. I may have to rethink this.
Anyway, hopefully I can get the last bit nailed tomorrow. This experience has given me even more respect for CE, since not only is the code nice to work with, but he's done a lot more (and more complex) widgets in far less time. This has taken a bit longer than I intended but I've learned a lot
![Smile :)](./images/smilies/icon_smile.gif)