added option to disable xconsole error