Cleanup & compile fixes & silent compile warnings.