Fixed dirname check
Changed memmove to not use buffer
Scroll function (up/down) for terminal
Couple of more escape sequences handled by tty driver
Fixed bugs in filesystems