Fixed some errors, added newer WP media manager - issue #5