Keywords should allow spaces; updated roleval, keywordval and timeval to always strip out special chars
More sanitizing of input