client: boot sequence code and minor module modifications