auto-reconnect database
forbid negative sale prices
resolves #3