Better sanitization of classnames from dir names.
Add some of the bases made by Vernei (http://www.armaholic.com/page.php?id=27526). Still WIP.