from arg is now working correctly.
Updated to take advantage of new api for training buildings.
Fix for uninitilized number.