Add comments for changes in bootstrap process
Use spaces instead of tabs for identation
Create method monkeyPatchAllWindows() to avoid redundant code