Add missing variable assignment in applyClone method

- This also fixes "expression result unused" warning on OS X.
Fix member var init order warnings on OS X
Fix "unused variable" warnings on OS X

- Remove unused variables.
Fix variable "used uninitialized" warnings

- Gave a default address of localhost. Not sure if that's
  desirable but I figured if we're going to pretend nothing
  went wrong we might as well give it a valid address.
Avoid redefining MIN/MAX on platforms that have it

- Fixes redefinition warning on OS X.
Change assign to compare in if statement

- Fixes a warning on OS X
Fix "extranious parenthesis" warning on OS X
Fix warning about copying vtable

- Set the value explicitly. We already assume that it's
  a Color object so we might as well use it like an object.
Add cast to fix pointer type assignment warning
Fixed assignment-to-self warnings on OS X

- These statements weren't doing anything so I removed them.
  I'm assuming that they were intended to do something so I
  left TODOs in their place.
Fix format string warnings on OS X

- %d expects an int so I added a cast to ensure we give it an int
  as on 64-bit what size() returns is larger than an int.
Add #import statement to fix unknown method warning on OS X
Fix use of deprecated NSString stringWithCString: method

- Replace with stringWithCString:encoding: and specify UTF8.
  This method has been around since 10.4 so I don't think
  it creates a compatibility issue.
Replace use of deprecated filenames method on OS X

- replaced with "URL(s)". This has been around since 10.0 so we're
  fine on compatibility.
replace use of deprecated runModalForDirectory:file:types:

- Replaced with runModal and setAllowedFileTypes: which
  have been available since 10.3.
Remove unused variable to fix an unused var warning
Fix "unused function" warning by marking as unused

- I'm assuming that the reason this is still around is that
  it's useful to have around when debugging. If it's actually
  not used then it's probably best to just delete it.
Add parenthesis to fix "&& within ||" warning on OS X
Fix unused static variable warning on OS X

- Prevent some static variables from getting declared
  when including vorbis.h since we don't need them and
  fortunately they provide a mechanism to prevent this.
Fix unchecked enum value warning in switch on OS X

- I'm assuming we've covered everything that makes sense
  for this method.