1> Check the manual for the video_window() function. Put it early in your 'main' function.
2> Most likely the action controlling "your" movement is either
a> just using x,y,z changes to move, and it therefore does NO collision detection.
b> uses the c_move function to move, and does not have the c_move flag IGNORE_PASSABLE set on.
3> via code, or you can set-up code to read values from the skills,
(which can be set in WED), and put those values into the physics settings. your choice.
Hope this helps get you started...