Refactored some common UI stuff to overlord-commons