All original programs in DB, fix program running errors

Added all original programs to the database. Fixed problem where
programs can't be run again once another program has run.