fix for name clash in Windows with DeleteFile

changed Utility::DeleteFile to Utility::SDeleteFile
fix for missing endif in header guard
bug fixes

fixes for textEdit interpreter path and using cancel in AddPlugin
change preferences ui to min expanding

Change PreferencesWidget ui to miniumexpanding so that buttons are no
longer hidden