Clean the code, more error checking

Cleaner code
working bootloader check function
check for aboot partitions existence
check for presence of a proper argument