Fixed call to getmodinfo and beefed up comments