Fixed a whole heap of sync bugs and laid groundwork for fault reporting