Added IO functions, and VGA cursor support.