Fixed bug with WASD,added function to clean sprites of empty whitespace.