moved window style definitions back to global namespace