Complete rework on the dock code so that that it is fairly removed from the rest of the Thuban application. It is easy to add new docks which the rest of the program having to be aware of them.