Added line to Makefile so LBIT can be set to correctly identify
linux64

Added lines to termination of dialogs to ensure dialog is always
closed correctly.