First rough draft with all subs rewritten using correct OIDS.
Full of bugs and misconceptions.

Lunchtime.