I think my script looks better now. If anybody is interested, I can release the code later (not for newbs BTW). I'm also working on a script to show battery charge on the lock screen.