Updated clear new profile behaviour. Started on context switch. Remove QFile and QDir in favour of native python file handling.