changed depreciated CGDisplayCurrentMode to CGDisplayCopyDisplayMode

added newline at eof, added comment about method depreciation for future committers

Revert "changed depreciated CGDisplayCurrentMode to CGDisplayCopyDisplayMode"

This reverts commit 42646847aa01f5cd77a88bf6ba988763772991e9.