attempted bugfix for keywords using while loop

this bugfix works using a while operator to prompt the user for keywords (which are appended to a file) until the user responds with a blank entry. maybe it works, maybe it doesn't.