Add parameter for setting lazarus config path in build script
Added quit action to  external controller tool
Fix some strange GTK bugs when quitting application