Fix bug in reduceFrame dropping cols from result.
Fix more bugs!