Mmmmmm....metal bashing. Man it has been a while - somewhere I sold my soul and went all RTG.
@xeron
That sequence of take over / recover steps reminds me of some old library I saw once. I can't recall the name, but I dimly remember it basically wrapped a lot of this into a few functions.
Anybody else remember it?