Revert "Revert menu performance improvements, fixes #160, fixes #184."

This reverts commit dda4622b5143003a2747539e111075d1d56be2fb.
V4 - Fix

Child nodes is duplicated (solve)