Main plugin file cleanup