removed asserts and cleaned up keyword name checking

ASSERT causes a CONTINUE restart to be available, but most
of the time, there's nothing that we could really change to
fix the problem, so it's useless to use ASSERT.