QT5 support added: Deprecated QTextStream function updated, Fixed remaining broken #includes