Made database handling more safe -> allow parallel database access by changing the type of database that is written (old databases are still readable); jman ls will now sort the jobs according to their ID.