color definitions taken from https://wiki.archlinux.org/index.php/Color_Bash_Prompt
Make all internal variables local to prevent "leaking", and some small rearrangements
$LIBUI_TMP_DIR might not exist. Note that the mkdir could fail, in case the default libui-sh settings (which use /tmp) don't work on the target system, in that case, it's up to the user to init with a different directory spec, and if he will see issues sooner or later.
… argument mismatch in cli mode
…n per item
…newlines and such
automatically call libui_sh_init at the end of the file with default options, this way applications using libui-sh are not forced to call libui_sh_init themselves, which was a bit a cumbersome requirement, especially if default options were fine.
… such a weird name anyway
…is a littly bit dirty. so logfiles must be passed as normal string now. +simplify check_is_in