3.1.2

Bug Fixes

 * Overall bug fixes and optimizations.