Removed boost function for now, start logging code and carried on with window code.