Re-enabled profile deletion and renaming features.
Refactored some variable names to make the code easier to read & added comments.
Removed recursive directory deletion function in favour of one introduced with Qt 5.0.