Fixed link status display
Cleaned up DB