fix usage of aparapibuffers
fix dispose in JNIContext (do not interfer with BufferManager!)