Removed some warnings in Universal Graphics Library.