more safari fixes

realized the scoping problems with safari sandboxing extensions also
stop the kingdom generator from working.
still more safari fixes

works in all browsers now
Merge pull request #152 from serakfalcon/master

safari fixes for king generator