Fixed some things

It looks pretty nice now, and actually works.
Still need to remove the jquery ui elements