Refactoring And Whatnot

I've just made a significant number of tweaks to the code behind pi.gadgetoid.com, in an effort to make it more robust and more responsive. There's a not-so-small chance that I've managed to achieve the opposite, so if you find this blog quirky and unresponsive... sorry! I'll no-doubt fix it in...