added support for pdi programming of boot area.
fixed issues with menu system.