Changed planManager to handle empty TMRs better
Merge branch 'master' of https://github.com/katadh/leiaS14