Fixed a bug that was causing the vaveProcessor to store empty documents
Merge branch 'working' into dev