Confirmed this - the sun rises/sets in the east/west, and this controls it
Some fixes to ui_build_selector; 2 fields at the end are unrelated globals