Added file-exists check. if it exists, it is deleted
Fixed bug where changes where ignored if the user did not press 'Draw'