add set_faction lua api
factor out stuff related to demon command help screen
add ui_hide_widget and ui_unhide_widget functions
expose sng_string_bounding_box function