Bug fixes, mainly string formatting ones.