makes the thing compile again

Lots of fine touches here and there, thing compiles now. Also changed
the randy naming shit, there's some cool stuff there now.