Small checks added; removed delayed texture refresh (no need for it)