Fix issue 78
fix issue 253
fix issue 57
try to reconnect to X11 server (forgot issue number)
let the re engine switch for expansive patterns