fixed GH #13 switching between pure and YUI widgets now keeps settings