Better implemented RPROMPT_SYSINFO, no code duplication, some doc comments
functions syntax polished and unified