cleaned up viewport, and worked on tabs