Dunno if anyone checks this thread/board anymore, but I ran into a strange bug where if you visit the barracks with the show flags option, it subtracts all of your army. Like so:
Source code seems sound although I'm not a master Python programmer.
Warning - Enter at your own risk! This is an area for people to experiment with changing the way the game works.