dont break on 0 width frames
Only output used frames
More debugging ingo, and only put out tiles that are different