Texture and bug fix. Fix #52.