changed version
formated version
windows tryfix
better event handling