Fix several bugs in addHouse, implement image transfer