use uiManager correctly
open all uiManager correctly
add new base class UiItem to get uiManager
Merge pull request #3 from nearc/master

use uiManager correctly