Unlock Bug Fixed

Fixed a bug where the user would unlock the HUD on a spec with less
monitors than the other spec and all icons would show, now it shows
only the appropriate icons when locking and unlocking. Added some
enhancements to the foundation framework as well.