BUG FIXES galore
Added writeOut function for code reuse
Added green, red & orange background css
BUG Fixes plus move to writeOutStatus
Added support for jquery-ui (partial needs completing)