reworked kawthulei.php, cleaned a bunch of things up, renamed some functions and etc. and changed the text parsing functions to be regex based