Added is_firefox uil function and ui cleanup