console module, also small windows fix