Replace semaphore with wait()/notify() to prevent reaching code before filter was destroyed (destroying the filter and particularly its buffer later results in NPE)
Rebuild libraries
Merge pull request #55 from ubuntudroid/save_wait

Fix unreliable waiting for filter destroying