Added a filter for setting which field types are shown the input limiter.
Removing unused code.
Fixed a bug that could cause the required symbol to be added twice if the label position was set inside.
Wrapped the $post global in an if check to prevent errors on some wp installs.
Changed the header( 'Location....') php function with wp_redirect().