php changes (mainly). input tab works perfectly.