mrpas conversion bugfix; fogofwar pre-render; trim function for mapgen