Added transparent border.
Solved bugs.
Improve code design.