UI initialization.