Merge pull request #16 from whmsysu/master

Fix the bug of recovering window
fix the misplaced view warnings.