Moved route page as tab.

...Also removed forgiven debug code and undone wrong optmimization.