Complete Rewrite.

Complete rewrite, now using the fw framework, now works in IE. Though I
have lost the Throw, for now.