added a bunch of utility methods, improved Utils.debug so it now accepts
format parameters