refactoring and fix a bug when disabling reaction wheels or RCS in
attitude menu.
don't show in GUI the reference button when the relevant parts aren't
attached
refactor GUI stuff and some.

Added a "Size" label next to the marker size slider.
Added a button for switch mass/amount in the resources table.