A couple of bug fixes for springyui

I fixed a couple of problems I saw when I was playing around with your code.