exec 5: basically OK. need more locks and improve monitor races
some locks and cleaning up