Major bug fixes and improvements

Fixed the issue with system call software interrupt 22h. Added a second
internal command clear, which clears the screen.