added multiple window support.
implemented find method for typeinfo.