Added queue() in place of synchronize() if fpc version >= 2.7.1.