Well I started working on this last week on Tuesday, but got hold up due to x-mas etc.
When I'm home I'll show you the exact lines where it checks, I'm not sure why it checks for userid 0. Maybe just leaving it out will make it work.
I don't think that the widget is useless, overlaying the switcher is just ugly and hackish. If you put the switcher into a widget the android way it would be a much better solution.
It's also the reason why I hadn't put up a topic on xda. Because my solution right now makes any widgets on the lock screen get an offset and I'd rather get the widget working so if you use the tile switcher it doesn't add a non existing one (square with a plus sign).
Just my two cents
Sent from my GT-I9300 using xda app-developers app
Phone: Samsung I9300
ROM: CyanogenMod 10 (nightlies)
food or beer!