Added comments to Utilities and fixed minor compiler warnings