Modified putstr messages to call into window type based functions instead
of sending a window message.