remove trace messages from bootloader and use self speaking return values in case of an error