Mostly bug fixes

Fixed thread safety issue with tweens.
Improved parsing functionality.
Fixed thread safety issue at initialization causing catastrophic failure
on some machines.