Added some fixes for sgf caching via AJAX.
Completely reworking how widgets are created.  Everything is broken
right now, but I believe a fix is reasonably close.