Added ROM size checking and fixed small error when loading C16 files