added jQuery-UI, using Dialog in place of window.alert() (it was ugly), also using Tooltips.