Implement some more instructions, and correct a mistake in the instruction compiler