use a __FILE__ which is not sanitized through realpath() for GSROOTPATH, which enables the use of a symlink for the main directory
get the id from the the request instead of get: this allows a cleaner action for the forms (and, generally speaking, a different id through get and post is not a good idea even if some plugins seem to be using this...)