Stripped back to basics. Created MySQL connector class. Blocks are now logged when they are placed or destroyed.