Prevent crash when no SoldierLayout has been defined
Fix compilation errors
Remove unnecessary c_str() call
Merge pull request #1 from szabopeter/LayoutManager

Prevent crash when no SoldierLayout has yet been defined