Added correct 'sleep' attribute name to components registration. Added check to setSleepTime method to insure the animator isn't running when calling the setResolution method as this throws an exception.
Authored by: kingsleyelmes 2007-10-16
Parent: [r1133]
Child: [r1135]