brought in my gui code, commented out all existing battlefieldairmangui
code. then brought in bare minimum from existing to get my gui to show
and all errors to go away.

if you start to add or modify functionality of gui, you may need to
bring in code piecemeal from the old gui code which is located directly
below and commented out using Source->Toggle Comment.