sprite reader development, small fixes