simple support for listing S4 object slots
fix compile problems on windows (sigjmp_buf); fix dangling refrence to function image