Some more CUI code

Signed-off-by: Alexander Kluth <contact@alexanderkluth.com>