Added SpinAndFall class for locks (more hacks)