Updated to 7.0 deployment target & refactored deprecated methods.

Ditto, from Kevin's fix for statusbar which hasn't been merged yet.