"Database not open"-Fix

Database.cs

- Fixed problem before each SQL Command with:
if (connection.State == ConnectionState.Closed)
connection.Open();