fork of the android-mode for processing, reactivating beginRecord() and endRecord()