Minimize use of imports, updated dist.ini
added/changed a few comments