added auto root check

Root check, other small adds (exit) clear