1. NSIS installer script

2. bug fixes on composition not cleared after switched to native mode