editor views and cleanup