More name and type fixes in UIKit. Assigned UIKit global values and functions to classes. (#289)