- Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port.