Added mapsize command line option. Removed more debug printout.