added this
added check for client
some drawing changes
added added smelting logic.