Rewrote the PM system and updated the Freeze Handler