Optimised collision code, removed windows support and more