Added destructor to renderlist::DataBase
Stopped deleting items in renderlist::DataBase-destructor
Correctly set ownership of viewer in JavaScript-code
Removed warnings.