Pretty up ResourceManager's JavaDoc.
Update idemo and rdemo scripts on Windows.