various style improvements
fix compatibility issue
improve form appearance
remove debug flags