cleaned up view system and visible space checking