minor: printing invarinats. if uncommented
minor: option help string bug removed
removed a memory leak in optimal planning mode (-e 0)