more safari fixes

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