Code Beautification

Apply my preferred code formatting to make this thing more readable.
CGDisplayCurrentMode is deprecated in favor of CGDisplayCopyDisplayMode in OS X 10.6+

Converted the call and implemented display release as indicated in the docs.