v1.2

Fixed memory leak and enhance UI