Various compiler fixes, more block/file_sector stuff