Add TABLE_is_loaded() function
Fix IMCS context cleanup bug in case of nested SPI calls
Add checks for string value overflow