now this script handles both docking and undocking

also added error handling
unnecessary, dock script now does that too
updated neobundle settings to use new functions
updated plugins