updating RDoc, fixing minor bugs, adding TODOs, caching OS type, improving restart() with OS sensitive commands