Keyboard fixes, CGA fixes, but neither of them work yet!
Fix a pseudo-random halting bug.
Merge pull request #19 from Alegend45/master

Merge Alegend45's latest changes