made changes to how input and bullet spawning is handled