Optimize GUI lib

1. Modify GUI lib;
2. Modify memory mange to "autorelease";