get area handle and name through method which is easier to override
restrict path length in UI
Revert "get area handle and name through method which is easier to override"

This reverts commit 972bec09df2b4f3605fecc3bebf3883bd1ee73f6.
Merge pull request #1270 from Remo/restrict-path-length

Restrict path length