Stupid stupid stupid villains in this one. Which ruined the book for me.(show spoiler)
In many books, the villains define the conflict that drives the story, if the bad guys are so imbecilic they couldn't put on a hat correctly it pretty much kills the story. Exactly what happened here.