Fixed second screen and several other fixes.