core: fixed seg-fault issue.
core gui: added final transform.