minor refactoring

supporting path as argument
bug fix

clearing special message chars between screen init