Fixes to function pointers for LogicalGui