Fixes #1

Corrects upside down recording, as well as fixes some warnings with Xcode 5 and iOS7