Mostly just cleaning things up.
Rewrote misc.c's ask_num() to fix a small bug with the input overflowing.