Formatting tweaks, added ul_string function.