Pull more document hits out of the core library, make Disable Port UI feature enablable  before the start of a program