Updates database manger to v4.1.0 and removes several deprecated php calls (ereg)