Done exactly what you're describing on my end, but I can't reproduce the problem. Screen flickering sounds like an issue I was having before my latest commit, but I haven't ran into it after ironing out the non-brew-item handling. 
Did you include the last commit in your merge?