Ugh this is not working well. Fixed more whitespace stuff, started trying to speed up the process.