Added NSOperationQueue category for providing LIFO functionality. Nice idea from Nick Lockwood
Updated code to support OSX and SPXDefines where necessary