Fix instant completion of missions

Caused by missions with initially complete
objectives and uninitialised exit counter
Add techdemo/minimal.cpn for testing