Fixed some SQL sanitization errors. Started view pane display improvements.