Bug Fixes, Optimizations

Improved RAM usage and speed dramatically, fixed a few bugs related to
block loading.