Change flag name to “lock”. (It's technically not just caps lock.)
Apply partial fixes to Window_Attributes module.
Use “as” instead of “into”.
Adhere to standard Rust naming conventions.
Update Window type with refined_type macro.
Update documentation.