Fixed bug in isoline and consolidate code, work around gtk for window position auto center