This code has been given a serious face lift. There's also far more documentation included within the snippet this time around.