Added QT Reference Flatten feature!!