Notes on how I'd fix this piece of shit.