Added/fixed some problems (already forgotten) and added a bug log