backgroundFPS should be 0 by default.
Added setWriter method.
Merge remote-tracking branch 'origin/master'