added kibit (static code analysis tool); fixed warnings
added scrollbar for records viewer