To avoid the never-ending attack bug:
I think it helps if you don't have any screens open when the attack ends.
If you do get bugged and the attack doesn't end properly, you should fall back to the main menu and continue your game there. You'll lose the progress since your last battle end, but I think that is a smaller price to pay than never being able to save your game again (it won't save when you're under attack) also you can't change bases while you're under attack, unless you want to lose the base you're in. Plus turrets/base/#2 henchman won't heal during an attack I think.
Auto Fire:
Click and hold all arrows keys you wish to fire.
Click off the game screen.
Let go of arrow keys
Click back on game screen. Your arrows should now be auto-firing! Repost and keep this information alive!