modify gui lib

1. modify the way of loading texture;
2. fixed color and opacity bug;