Fix corrupt ports.conf
Improvement to MFC custom display