Issue #88: Fix compiler warnings related to TOC layer menu options.