Some bug fixes. Add support for displaymode 'single' and 'extended (4 monitor).'