sync setup is reliable
changesPainter is a global variable
sort the rooms properly