Performance improments.

Use atob rather than existing (slow) decode function. Insert geom data at once rather than pushback individual components.
Performance enhancements.
Merge remote-tracking branch 'origin/performance_improvements'