Changes depth to list type parameter
Adds option to always display sub-menu items or only when parent is active
Adds target window support