Misc. bugfixes, exec functions, more string functions