Bugs fixed and crash messages