cleaned up the mindfuck that was scene mapping.