Fix build.
Added Config::getFramesPerSecond()
buffer.hxx cleanup
Fix RCP in origin mode.
Misc cleanups.