Few fixes, added BIOS support.