upgrade to 0.4.0 (fixes crash), fix teleporting