Added check in NewProfileWindow to ensure all the fields are filled in.
Added progress bar to NewProfileWindow.