Added OS-sniffing. Slowly moving along...
Fixed stupid cut'n'paste error.
Added a lot of code. Still broken.