square capture and crop. needs cleanup:
added camera swap and flash mode swap