Maybe more of a suggestion than bug. But if you build armies in an occupied system to defend your planet they launch automatically and are destroyed. An option to auto launch troop transports or keep them on the ground would be great. Or just don't launch if the station is hostile.
