galton and his cousins had done their best to board up the library window at least halfway , draping it with heavy plastic ; and after an hour of hard work had managed to rehang the front door on serviceable hinges with a new dead-bolt lock .