clean up view loading, etc.