Make EasyC work with Chrome and fix bugs