You can put this in Javascript section to remove SugarCube’s default UI sidebar completely:
UIBar.destroy();
You're right! This is a more efficient solution than the one listed. (I actually use this myself, but it slipped my mind while proofreading.) Thanks! I'll update the file ASAP.