A judge says Paul Dunlavy has an "extremely concerning obsession" with weapons and fantasy violence.