Downgraded gradle build, wouldn't work with intellij EAP
Added priorities 'FIRST' and 'LAST' to @OnMessage