Debugged some shit.  Not sure what's good, read and learn.