multiple monitor support for non-mac os's
refactor