cleanup PoolAlloc a bit more
mac: update Xcode projects to recommended settings by Xcode 4.6
fix some compile warnings
fix an actual error found by compiler warnings. yay!