Fix some bugs
Add completer
Close tab on middle click event