- fixed ArrayOutOfBondsException when selecting row and old statements
are deleted
- fixed incorrect colors when switching columns
- catch exceptions in background refresh task to keep scheduling