optimised suspension code. added full support for chrome sync