Started work on a terminal client to aid in testing, fixed some more memmove stuff