Beginning work on multithreaded support

Also delete useless "Display Manager" class