edited Main (needs finishing touch for display bug with non-retina)