This commit ports -tg-'s port of the /vg/ smoothwall system. An important thing to note is that we have extra code on top of the -tg- port to make it work at all, and therefore, it may not be as efficent.