Fixed some stuff invloving entities and added command to remove entities from thw world (may create ghosts).