Revert "change to simple free policy"

This reverts commit 605bff4bdf66b25d4ca20844d1e152e7965a13d6.

Conflicts:
	core.c

Also: change the name from free_db to db_dispose()
new makefile rule and exe variable
need one more byte in setup_string