NGUI and code refactor for 1.01a