Added variable icon widths and loading layout/resourceStore from json string