Remove all traces of Qt from this.

Given what we're having to do (no heap allocations and all that jazz), using
frameworks like Qt is a little bit risky. So let's do it all the hard
way like they did in the good old days.