Improvements and preparing for 0.9

Changes in cache, stats, backup, bb_bi and your usual bug fixing