auto-bury compilation buffer upon successful compile, and restore old window state