texture: reverted some changes. needs review
remove dinput and modified levelload a bit