Removed isSavedDir and logLevel variable , Unused variables , Removed
Settings Button from form