Checkpoint for changes based on PR feedback.
added more unit tests for tabs.  moved tabs code into views.py.