Add Basic wx controls to squirrel binding

fix crash in pluginconfigurationsdlg
fix bug where application didn't exited if xrc dlg was loaded