Multi threading PSD

- Sida 17