PEP8 changes, replaced some lambda functions
Update regex of allowed characters for Windows #38