Simplified OS version check and fixed substr error.
Simplified OS version check and fixed substr error.
Simplified OS version check and fixed substr error.
Faster and more reliable logged-in user detection.
Merge pull request #1 from homebysix/master

Simplified OS version check and fixed bug that incorrectly identified "10.10.1" as "10.1."