Fixing some bugs in PlanSimulationLayer (validation checks were being
executed before simulation was finished).
Fixed bug when message fields were null.
Clearing one last warning.