substitute usage of Vector with ArrayList
rm needless comment
fix window size on startup