fisrt .xrc test; working on GUI; application callbacks