Theme support, varchar replaced by longtext, build fixes.