Switched matsource to imread.
QStateContainer progress.