Base UI: Fixes for logging and add UINoSuchElementError class to avoid raising generic exceptions