A memory device using a nonvolatile ferroelectric memory cell stores processing results of various programs with a nonvolatile state in a nonvolatile ferroelectric register, and processes multiple data using a multi-port. The electronic device is operated in a first mode or a second mode dependent upon the position of the second piece relative to the first piece. The foam liner andor foam inserts include or form grooves andor channels used to direct hot air towards the top center of the headgear assembly where the hot air can be vented through holes which extend through the cap and hard outer shell.