Minor RAM cache setting tweaks, also final buffer optimization.