Fixed missing mmap_size tag and improved options handing.