Fix notices.
phpDoc.
Code style.
Fix showColumns flag.