Update turtleterm.lua

Bug fixes.