Issue #95: added factory method to UITools