Use named field for Monitor and Window structs

This allows us to get rid of of the Monitor::ptr and Window::ptr methods
Change extension from .rc to .rs