Possible bug 1:
/echo 4 $sin($calc($pi / 1)) yells minus zero.

Possible bug 2:
/echo 4 $window(@test).w doesn't give width of @test if another window is active. Is it a work around? (I do not consider activating @test as a work around)