2 updates for GUI

1. change class Bridge from unmanaged to managed;
now class Bridge is a true managed wrapper class liao~
2. clean codes