Made ProcessHandler and locale static, hooked quickbuttons to events