Abstracted out some object move and draw code; added counts for keys typed and missed.