"Normalized" window/class names

Also actually fixed the black border issue. I was drunk again. I need to
stop drinking apple juice.