update callback
layers also should be more robust
it works need clean up
cleaned up a bit the ui stuff too
removed some todo and old code
fixed compile error
add some more comments
cleaned up the layer connect disconnect behavior
Merge branch 'feature/chooser-callback' into develop