win detection
prettify button moar