Bug fixes to docks positions, rename in viewer and close image lag