Ensure investment amounts are always an integer
Slightly improve error handling
Multithread post-processing