fix some warnings that appeared in Xcode 4.6 and remove unused MGSplitViewController