Tab

Much of the tab page code was based on the navigator page code.

The cache system does work for pages contained in the tab page. Is this something worth implementing? If so, how should I go about doing it?

fixes #59 
Move the cast into the if statement.