It'd be a nice improvement if pressing 'w' would not switch to any weapons that are disabled under the 'b' menu.
From a gameplay perspective, it's kinda nice to encourage the player to install more weapons on their ship, since variety makes the game more fun. However, the fact that disabled weapons still make it harder to switch weapons makes it kind of annoying to have more than 2 or 3 weapons.