Merge pull request #4024 from nutty898/master_nutty_optimizeguilib

optimize gui lib