Flint: Fix initial layout
Closes #2158 (closed)
This MR takes care of the step sequence during initialization of Flint in order to always do the same thing.
This was the main issue which was breaking the layout of dock widgets at startup of Flint.