Re-added setBlocks but deprecated. Fixed some potential bugs. improved documentation, removed dead code.