dynamic table headers using reflection
Code inspection fixes.