fixed style issue...

1. PSMSStyles should be a class library..
2. GUI had a wrong function..