Made some changes to Error Handling. Also, standardized the connection string thing.