Fixed incorrect port reading from config file.
Fixed map extraction not doing zerofill on map names.