Added size changing functionality & fixed bugs

The size change setting seems to be working fine, now. The way the icons
are arranged also seems good, but attention should be paid to the
updateIconContainerWidth() function.