Removed unused code and whitespace
Increased minimal wordpress version number to 3.1.0