I hate to say this, but you're making all the same mistakes as you did with HolidayCounter. Result: same old errors popping up everywhere and stuff and thus not working as it should.
error 13
error 440
error 5
etc...
you name it
PS: I've just send you the fixed source from HolidayCounter, I suggest you study it. eg: the method how preferences are loaded/saved/etc, how variables are used, what to do and what not to do, etc. Perfect one plugin first, aka: keep it to one easy plugin, like this quicksearch one, before developping more plugins.