Fixed the problem with the 2nd and 3rd tabs, where the "close" and
"cancel" buttons were not terminating gracefully. Also fixed some minor
display text issues.