some changes regarding unit states and some hacks for commands that can't be executed (TODO)